﻿#pragma once

// 游戏区域
class GameBoard: public CWnd {
    DECLARE_MESSAGE_MAP()

    private: CDC mBackDrawer;   // 后台绘图者
    private: CBitmap mBitmap;   // 后台缓冲位图
    private: CDC* mForgeDrawer; // 前台绘图者
    private: CSize mSize;       // 尺寸  

    public: GameBoard(int, int);
    public: CDC* GetDrawer();
    private: afx_msg int OnCreate(LPCREATESTRUCT);
    private: afx_msg void OnLButtonUp(UINT, CPoint);
    private: afx_msg void OnPaint();
};
